import Vue from 'vue'
import App from './App.vue'
import Antd from 'ant-design-vue'  // 引入Ant Design Vue组件
import 'ant-design-vue/dist/antd.css'  // 引入Ant Design Vue样式
import global from '@/Global' // 引入global
import router from './router/router.js'
// 引入mockjs
require("../mock/mock.js")
Vue.prototype.$global = global; //挂载到vue上，就能直接this出来了

Vue.config.productionTip = false

Vue.use(Antd)
new Vue({
  router,  //挂在路由
  render: h => h(App),
}).$mount('#app')
